-- CALC_BLOODY_TESTBED_ITEMS

-- 解析物品
-- @param items
return function(items)
    local materialList = FormulaM.invoke("GET_BLOODY_TESTBED_MATERIAL");

    local ret = {};
    local bits = bit.tobits(items)
    for index = 1, #bits do
        if bits[index] == 1 then
            table.insert(ret, materialList[index]);
        end
    end

    return ret;
end